home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / plain C OS8 / Everything / DModalRadiosData.h < prev    next >
Encoding:
Text File  |  1998-10-29  |  1.2 KB  |  48 lines  |  [TEXT/CWIE]

  1. // DModalRadiosData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7. #define idRadioGroup2        'Rad2'
  8. #define idGroup2        'Gro2'
  9. #define idGraphic3        'Gra3'
  10. #define idBevel2        'Bev2'
  11. #define idText2        'Tex3'
  12.  
  13. //----------
  14. struct DModalRadiosData {
  15.     AMSignaler        super;
  16.  
  17.     SInt16        mRadioGroup2;
  18.     SInt16        mGroup2;
  19.     SInt16        mGraphic3;
  20.     SInt16        mBevel2;
  21.     SInt16        mText2;
  22. };
  23. typedef struct DModalRadiosData DModalRadiosData;
  24.  
  25. //----------
  26. DModalRadiosData*        NewDModalRadiosData ();
  27. void    DeleteDModalRadiosData        (DModalRadiosData*        data);
  28.  
  29. //----------
  30. void        DModalRadiosData_Init    (DModalRadiosData*        self);
  31. void        DModalRadiosData_Free    (DModalRadiosData*        self);
  32.  
  33. SInt16        GetRadioGroup2        (DModalRadiosData*        self);
  34. void        SetRadioGroup2        (DModalRadiosData*        self,
  35.                              SInt16        inValue);
  36. SInt16        GetGroup2        (DModalRadiosData*        self);
  37. void        SetGroup2        (DModalRadiosData*        self,
  38.                              SInt16        inValue);
  39. SInt16        GetGraphic3        (DModalRadiosData*        self);
  40. void        SetGraphic3        (DModalRadiosData*        self,
  41.                              SInt16        inValue);
  42. SInt16        GetBevel2        (DModalRadiosData*        self);
  43. void        SetBevel2        (DModalRadiosData*        self,
  44.                              SInt16        inValue);
  45. SInt16        GetText2        (DModalRadiosData*        self);
  46. void        SetText2        (DModalRadiosData*        self,
  47.                              SInt16        inValue);
  48.